package com.decent.constant;

/**
 * 常量
 *
 * @author xinyd
 * @date 2020/12/3 9:43
 */
public class Constants {
    /**
     * 简易时间格式
     */
    public static final String SIMPLE_DATE_TIME_FORMAT = "yyyyMMddHHmmss";
    /**
     * 时间格式
     */
    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
    /**
     * 日期时间格式
     */
    public static final String DATE_FORMAT = "yyyy-MM-dd";
    /**
     * 时间格式-没有秒
     */
    public static final String DATE_TIME_FORMAT_NOT_SECOND = "yyyy-MM-dd HH:mm";

    /**
     * 时区
     */
    public static final String TIMEZONE = "GMT+8";


    /**
     * 接口时间戳与当前服务器差值(毫秒值)
     */
    public static final int TIME_DIFFERENCE = 3 * 60 * 1000;
    /**
     * 编码方式
     */
    public static final String ENCODE_TYPE = "UTF-8";
    /**
     * 操作人
     */
    public static final String OPERATOR = "SYSTEM";
    /**
     * 商品编号 redis 前缀
     */
    public static final String PRODUCT_CODE_PREFIX = "PRODUCT_CODE:";
    /**
     * 初始化玩家数量
     */
    public static final int INIT_QUANTITY = 36010;
    /**
     * 初始化九宫格抽奖参与人数量
     */
    public static final int INIT_PARTICIPANT_QUANTITY = 5577;
    /**
     * 快递合并标记:true 合并订单 false非合并订单
     */
    public static final boolean EXPRESS_MERGED = true;
    /**
     * 快递订单号前缀
     */
    public static final String EXPRESS_ORDER_PREFIX = "HQS";
    /**
     * 公钥
     */
    public static final String PUBLIC_KEY = "public_key";
    /**
     * 私钥
     */
    public static final String PRIVATE_KEY = "private_key";
    /**
     * 随机字符串
     */
    public static final String RANDOM_STR = "random_str";
    /**
     * 参数分隔符
     */
    public static final String PARAM_SEPARATOR = ",";
    /**
     * 平台虚拟ID(评论管理功能:用于记录平台回复ID)
     */
    public static final long PLATFORM_VIRTUAL_ID = -1L;
    /**
     * 卖家默认昵称：玩家+四位随机数（玩家1234）
     */
    public static final String SELLER_DEFAULT_NAME = "玩家";
    /**
     * 京东取件编号前缀
     */
    public static final String JD_EXPRESS_PREFIX = "QWD";
    /**
     * 快递分流相关兜底渠道的排序
     */
    public static final Integer SORT = 9999;
    /**
     * 抽奖活动日:周5
     */
    public static final int WEEK_LIMIT = 5;
}
